﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>菜鸟教程(runoob.com)</title>
</head>
<body>

    <p id="demo"></p>
    <script>
        var length;
        length = 6;
        document.getElementById("demo").innerHTML = length;
    </script>

</body>
</html>